package entities;

public class ClassRoom {
	private String roomNumber;
	private String building;
	private int capacity;
	private String zone;
	private TimeTable timetable;
	
	public ClassRoom(){
		this.timetable = new TimeTable();
	}
	
	public void set_roomNumber(String r){
		this.roomNumber = r;
	}
	
	public String get_roomNumber(){
		return this.roomNumber;
	}
	
	public void set_building(String b){
		this.building = b;
	}
	
	public String get_building(){
		return this.building;
	}
	
	public void set_capacity(int c){
		this.capacity = c;
	}
	
	public int get_capacity(){
		return this.capacity;
	}
	
	public void set_zone(String z){
		this.zone = z;
	}
	
	public String get_zone(){
		return this.zone;
	}
	
	public TimeTable get_timetable(){
		return this.timetable;
	}

	public ClassRoom(String r_num, String b, int c, String z) {
		this.roomNumber = r_num;
		this.building = b;
		this.capacity = c;
		this.zone = z;
		this.timetable = new TimeTable();
	}
	
	/*@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		for(TimeTableRow test : timetable) {
			sb.append(test);
		}
		return sb.toString();
	}*/
	
}
